// $FF: renamed from: h javax.microedition.lcdui.TextBox
private TextBox field_4;
// $FF: renamed from: c javax.microedition.lcdui.TextBox
private TextBox field_5;
// $FF: renamed from: b javax.microedition.lcdui.Form
private Form field_6;
// $FF: renamed from: d a
private a field_7;
// $FF: renamed from: e javax.microedition.lcdui.Displayable
private Displayable field_8;
// $FF: renamed from: i a
private a field_9;
// $FF: renamed from: k javax.microedition.lcdui.List
private List field_10;
// $FF: renamed from: a boolean
private boolean field_11;
class_0(List var1, a var2, Displayable var3) {
this.field_10 = var1;
this.field_8 = var3;
if (var2 == null) {
var2 = new a();
}
this.field_7 = var2;
this.field_4 = new TextBox("Subject", this.field_7.c(), 1024, 0);
this.field_4.addCommand(EV.p);
this.field_4.addCommand(EV.f);
this.field_4.setCommandListener(this);
this.field_5 = new TextBox("Message Text", this.field_7.g(), 1024, 0);
this.field_5.setCommandListener(this);
this.field_5.addCommand(EV.A);
this.field_5.addCommand(EV.f);
this.field_2 = this.field_3 = null;
this.field_11 = false;
this.field_0 = new ac(true, false, "From", this, var3, (u[])null);
if (this.field_0.n.size() == 1) {
this.field_1 = new ac(false, false, "To", this, var3, this.field_7.j());
}
}
public void commandAction(Command var1, Displayable var2) {
if (var1 == EV.E) {
EV.c.setCurrent(this.field_10);
} else if (var1 == EV.u) {
this.field_6 = new Form("Result");
this.field_6.setCommandListener(this);
this.field_6.addCommand(EV.E);
this.field_6.addCommand(EV.f);
String var3 = EV.b.o();
if (var3 == null) {
var3 = "This email message may not have been delivered due to an unexpected error.";
} else if (var3.equals("confirmed")) {
var3 = "Before this message can be delivered, we must confirm that your email address is valid. We have sent a confirmation message to " + this.field_9.i().b() + ". Please see this confirmation message for details.";
} else if (var3.equals("sent")) {
String var4 = this.field_9.c();
if (var4 == null) {
var4 = "";
}
var3 = "Your message, '" + var4 + "', has been sent.";
} else {
var3 = "Unknown status of sent message.";
}
this.field_6.append(var3);
EV.c.setCurrent(this.field_6);
} else if (var1 == EV.n) {
if (var2 == this.field_0.n) {
this.field_0 = new ac(true, false, "From", this, this.field_10, (u[])null);
if (this.field_0.n.size() == 1) {
this.field_1 = new ac(false, false, "To", this, this.field_8, this.field_7.j());
}
} else if (var2 == this.field_1.n) {
Object var6;
if (this.field_0.n.size() == 1) {
var6 = this.field_8;
} else {
var6 = this.field_0.n;
}
this.field_1 = new ac(false, false, "To", this, (Displayable)var6, this.field_1.f());